html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-size: 16px;
}

html,
body,
div,
ul,
li,
header,
input {
    box-sizing: border-box;
}

#app {
    // font-family: SourceHanSansCN-Regular;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    height: 100%;
    width: 100%;
}

// 定位
.row-flex {
    display: flex;
    align-items: center;
}

.pr {
    position: relative;
}

.pa {
    position: absolute;
}

.tl {
    text-align: left;
}

.tc {
    text-align: center;
}

// 外边距
@each $size in (5, 10, 15, 20, 30) {
    .mt#{$size} {
        margin-top: getRem($size);
    }
}

.ml10 {
    margin-left: getRem(10);
}

.ml5 {
    margin-left: .05rem;
}

.mr10 {
    margin-right: getRem(10);
}

.mb20 {
    margin-bottom: getRem(20);
}

.m-auto {
    margin: 0 auto;
}

.pl10 {
    padding-left: getRem(10);
}

.pointer {
    cursor: pointer;
}

.not-allowed {
    cursor: not-allowed;
}

.none {
    display: none;
}

.h-100 {
    height: 100% !important;
}

// 字体大小
@each $size in (12, 14, 16, 18, 24) {
    .fz-#{$size} {
        font-size: getRem($size);
    }
}

// 行高
@each $size in (12, 14, 16, 18, 20, 24) {
    .lh-#{$size} {
        line-height: getRem($size);
    }
}

// 透明度
@each $size in (3, 5, 8, 10) {
    .op-#{$size} {
        opacity: $size / 10;
    }
}

// 文本省略
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


// 滑动条
::-webkit-scrollbar {
    width: 4px;
    height: 5px;
    background: #283348;
}

::-webkit-scrollbar-thumb {
    background: #3d475a;
}

// poi搜索
.poi-search input::-webkit-input-placeholder {
    color: #fff;
}

.poi-search input:-moz-placeholder {
    color: #fff;
}

.poi-search input::-moz-placeholder {
    color: #fff;
}

.poi-search input:-ms-input-placeholder {
    color: #fff;
}

.poi-search input:focus::-webkit-input-placeholder {
    color: transparent;
}

.poi-search input:focus:-moz-placeholder {
    color: transparent;
}

.poi-search input:focus::-moz-placeholder {
    color: transparent;
}

.poi-search input:focus:-ms-input-placeholder {
    color: transparent;
}

// 更改滑块样式
.slider-container.ui-widget-content {
    border: none;
    background: rgba($color: #fffff2, $alpha: .2);
    border-radius: 0;
}

.slider-container .ui-slider-handle {
    width: getRem(16);
    height: getRem(16);
    background: #38bbd7;
    border-radius: getRem(10);
    border: solid 1px transparent;
    box-sizing: border-box;
    cursor: pointer;
    display: none;
    z-index: 10;
    position: absolute;
    top: -3px;
    outline: none;
}

// 更改表单样式
.my-form {
    .el-form-item {
        margin-bottom: getRem(10);
    }

    .el-form-item__label {
        line-height: getRem(28);
        font-size: getRem(12);
        color: #999;
    }

    .el-form-item__content {
        line-height: getRem(28);
        font-size: getRem(12);
        color: #333;

        .el-input__inner {
            color: #333;
        }
    }

    .el-color-picker--mini {
        height: getRem(20);
        margin-right: getRem(5);

        .el-color-picker__trigger {
            height: getRem(20);
            width: getRem(20);
            padding: 0;

            .el-color-picker__color {
                border: none;

                .el-color-picker__color-inner {
                    border-radius: getRem(4);
                }
            }

            .el-color-picker__icon {
                visibility: hidden;
            }
        }
    }

    .name-label {
        .el-input__inner {
            border-color: transparent;
            height: getRem(20);
        }
    }

    .name-color {
        .el-slider__runway {
            margin: 0;

            .el-slider__button {
                width: getRem(12);
                height: getRem(12);
                border-radius: getRem(6);
                border: solid getRem(1) #000000;
            }
        }
    }
}

// 屏蔽清空按钮
.markEditPicker {
    .el-color-dropdown__btns {
        .el-button--text {
            display: none;
        }
    }
}

.markEditPicker-top {
    top: getRem(-235) !important;
}

.markEditPicker-left {
    left: getRem(-200) !important;
}

.tip-class {
    font-size: getRem(15);
    line-height: getRem(18);
    max-width: getRem(300);
}

.ui-state-disabled {
    opacity: 1 !important;
}

// 滚动条
.out-scroll {
    width: calc(100% + 10px);

    .in-scroll {
        width: calc(100% - 10px);
    }
}

.ace-monokai {
    background: transparent;

    .ace_gutter {
        background: transparent;
    }

    .ace_comment {
        color: #5bd61f !important;
    }

    .ace_print-margin {
        visibility: hidden !important;
    }
}

.drag-dialog {
    color: #fff;

    .title {
        width: 100%;
        height: getRem(80);
        background: rgba($color: #fff, $alpha: .1);
        background-blend-mode: normal, normal;
        border-radius: 0.18rem 0.18rem 0 0;
    }

    .item-bg {
        width: 6.56rem;
        height: .8rem;
        background-image: linear-gradient(rgba($color: #fff, $alpha: .03),
                rgba($color: #fff, $alpha: .03)),
            linear-gradient(rgba($color: #fff, $alpha: .03),
                rgba($color: #fff, $alpha: .03));
        background-blend-mode: normal, normal;
    }

    .content>div {
        width: 100%;
        height: 100%;
    }
}

.mobile-container {
    -webkit-tap-highlight-color: transparent;

    .mapScale {
        top: .85rem;
        bottom: auto;
        left: .3rem;

        .mapScalebg .text {
            font-size: .16rem;
        }
    }

    .ol-scale-line {
        top: .55rem;
        bottom: auto;
        left: .3rem;

        .ol-scale-line-inner {
            font-size: .16rem;
        }
    }

    // 全屏弹框隐藏问题
    .sceneLight-mobile,
    .mobile-vector-edit {
        .el-select-dropdown {
            left: auto !important;
            top: auto !important;
        }
    }

    .el-scrollbar {
        >.el-scrollbar__bar {
            opacity: 1 !important;
        }
    }
}

.online-edit-help {
    margin-top: .1rem !important;
    min-width: .81rem;
    background: #1c222b;
    border-radius: 0 0 .04rem .04rem;
    color: #fff;
    box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.33);
    border-color: transparent;

    .help {
        cursor: pointer;
        text-align: center;
    }

    .help:hover {
        opacity: 1;
    }
}

// 简易工具栏样式
.simple-tool-cmn {
    .el-color-picker--mini {
        height: getRem(20);
        margin-left: getRem(5);

        .el-color-picker__trigger {
            height: getRem(20);
            width: getRem(20);
            padding: getRem(2);

            .el-color-picker__color {
                border: none;

                .el-color-picker__color-inner {
                    border-radius: getRem(4);
                }
            }

            .el-color-picker__icon {
                visibility: hidden;
            }
        }
    }

    .input-class {
        .el-input__inner {
            padding: 0 getRem(5);
        }
    }

    .el-input__inner {
        color: #333;
    }
}

.pd-flight {
    padding: 0 getRem(20) getRem(18) !important;
}

.special-mark-input {
    .el-input__inner {
        background: #3b7cff;
        border-color: #3b7cff;
        color: #fff;
    }

    .el-input__inner:hover {
        border-color: #3b7cff;
    }

    .el-input__prefix,
    .el-input__suffix {
        color: #fff;
    }

    .el-input .el-select__caret {
        color: #fff;
    }
}

.lat,
.lng {
    .el-input {
        border: 1px solid #00bffc !important;
    }

}

.video3dshed .range {
    .el-input-number .el-input input {
        top: -15px !important;
    }
}

.el-picker-panel {
    background: #02062c !important;
    opacity: 0.8;
    color: #fff !important;
    border: 1px solid #00bffc !important;

    .el-date-table th {
        color: #fff !important;
    }

    .in-range {
        color: #00a1ff !important;
    }
}

.video3dshed {


    .el-input__inner {
        background: #02062c;
        opacity: 1;
        border: 1px solid #00bffc !important;
        color: #fff;
        border: none !important;
        color: #00a1ff;

    }

    .el-range-input {
        background: #3d475a !important;
    }

    .el-input__inner:hover {
        border: 1px solid #00bffc;
    }

    .el-input__prefix,
    .el-input__suffix {
        color: #fff;
    }

    .el-input .el-select__caret {
        color: #fff;
    }

    .el-slider__runway.show-input {
        margin: 14px 35px 0 !important;
    }

    .el-date-editor--daterange.el-input,
    .el-date-editor--daterange.el-input__inner,
    .el-date-editor--timerange.el-input,
    .el-date-editor--timerange.el-input__inner {
        width: 300px !important;
    }

    .el-collapse-item__header,
    .el-collapse-item__wrap {
        background: #02062c !important;
        color: #00bffc;
        padding-left: 10px;
    }

    .el-date-editor--daterange {
        background: #02062c;
        opacity: 1;
        border: 1px solid #00bffc !important;
        color: #fff;

        .el-range-input {
            background: #02062c !important;
            color: #fff !important;
        }
    }


}

.el-picker-panel {
    z-index: 999999 !important;
}